package com.majun.huaxishe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.majun.huaxishe.entity.Photos;
import com.majun.huaxishe.entity.dto.PhotosDTO;
import com.majun.huaxishe.entity.vo.PhotosVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 照片表 服务类
 * </p>
 *
 * @author 马骏
 * @since 2024-02-29
 */
public interface IPhotosService extends IService<Photos> {

    Map<Integer, Integer> countByAlbumId(List<Integer> albumIds);

    Page<PhotosVO> queryPage(PhotosDTO photosDTO);
}
